package com.liholin.springboot.sample.service;


import java.util.Map;

public interface RedisService {

     void put(String key, String value, long timeSeconds);

     void put(String key, String value);

     void delete(String key);

     boolean isExists(String key);

     String get(String key);

     void HPut(String key, Object hk, Object hv);

     void HDelete(String key, Object hk);

     Object HGet(String key, Object hk);

     Map<String,String> HGetAll(String key);

     void save(String key, String value);

     void HPutMap(String key, Map<String, Object> map);

     void HUpdateSmartAlbum(String key, String hKey, Object hValue);

     Map HGetByKey(String key);

     void HDeleteByHKey(String key, String hashKeys);
}
